﻿//创建时间: 2011-04-08
//创建作者: 李城
//功能说明: 用户管理 
using System;
using System.Collections.Generic;
using System.Text;

using TRPOP.Common;

namespace TRPOP.CMS.UserManage
{
    [Serializable]
    public class AdminUserInfo
    {
        #region 私有变量
        private int m_intUserBaseId = 0;
        private string m_strLogName = "";
        private string m_strLogPWD = "";
        private string m_strName = "";
        private bool m_blnSex = false;
        private DateTime m_datLastLogTime = StringExtension.NullDateTime;
        private DateTime m_datAddTime = StringExtension.NullDateTime;
        private int m_intPubCount = 0;
        private string m_strPermissionIds = "";
        private string m_strNodeIds = "";
        #endregion

        #region 成员函数

        /// <summary>
        ///  用户id
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int UserBaseId
        {
            get
            {
                return m_intUserBaseId;
            }
            set
            {
                m_intUserBaseId = value;
            }
        }

        /// <summary>
        ///  用户登陆名
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string LogName
        {
            get
            {
                return m_strLogName;
            }
            set
            {
                m_strLogName = value;
            }
        }

        /// <summary>
        ///  登陆密码
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string LogPWD
        {
            get
            {
                return m_strLogPWD;
            }
            set
            {
                m_strLogPWD = value;
            }
        }

        /// <summary>
        ///  用户昵称
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string Name
        {
            get
            {
                return m_strName;
            }
            set
            {
                m_strName = value;
            }
        }

        /// <summary>
        ///  性别
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public bool Sex
        {
            get
            {
                return m_blnSex;
            }
            set
            {
                m_blnSex = value;
            }
        }

        /// <summary>
        ///  最后登陆时间
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public DateTime LastLogTime
        {
            get
            {
                return m_datLastLogTime;
            }
            set
            {
                m_datLastLogTime = value;
            }
        }

        /// <summary>
        ///  注册时间
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public DateTime AddTime
        {
            get
            {
                return m_datAddTime;
            }
            set
            {
                m_datAddTime = value;
            }
        }

        /// <summary>
        ///  信息发布个数
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public int PubCount
        {
            get
            {
                return m_intPubCount;
            }
            set
            {
                m_intPubCount = value;
            }
        }

        /// <summary>
        ///  权限Id集合
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string PermissionIds
        {
            get
            {
                return m_strPermissionIds;
            }
            set
            {
                m_strPermissionIds = value;
            }
        }

        /// <summary>
        ///  可操作结点Id集合
        /// </summary>
        [DataAttribute(FieldType.DBField)]
        public string NodeIds
        {
            get
            {
                return m_strNodeIds;
            }
            set
            {
                m_strNodeIds = value;
            }
        }

        #endregion

    }
}

